/* 引入外部字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

header {
	background-image: url('./bg.png') !important;
}

/* 基础字体类 */
.chinese-font {
  font-family: 'Noto Serif SC', serif;
}

/* 渐变背景类 */
.hero-gradient {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #4a5568 100%);
}
.section-fade {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(245, 245, 245, 1) 100%
  );
}

/* 阴影与 hover 动画类 */
.card-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 图表容器样式 */
.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
}

/* 媒体查询：移动端适配 */
@media (max-width: 768px) {
  .chart-container {
    height: 300px;
  }
}

/* 时间轴样式（伪元素） */
.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
}
.timeline-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4caf50;
}
.timeline-item:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 17px;
  width: 2px;
  height: calc(100% + 13px);
  background: #e2e8f0;
}
.timeline-item:last-child:after {
  display: none;
}

/* 导航栏样式 */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.nav-link {
  position: relative;
}
.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4caf50;
}

/* 专家卡片动画 */
.expert-card {
  transition: all 0.3s ease;
}
.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 引用标记样式 */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #4caf50;
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: 10px;
}

.chart-analysis ul li {
  list-style-type: disc;
}

.chart-analysis ul ul li {
  list-style-type: circle;
}
.area-chart-analysis ol li {
  list-style-type: decimal;
}

.area-chart-analysis ol ul li {
  list-style-type: disc;
}

.area-chart-analysis ol li::marker {
  font-weight: bold;
}

.platform-analysis ul li {
  list-style-type: disc;
}
.platform-analysis ul ul li {
  list-style-type: circle;
}

.chapter-one-conclusion ol li {
  list-style-type: decimal;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 通用卡片样式：背景、圆角、内边距、阴影、过渡 */
.card {
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease; /* 所有属性变化的过渡动画 */
}

/* 每个卡片的专属背景色 */
.card-trend {
  background-color: #e6f7ff; /* 浅蓝色 */
}
.card-user {
  background-color: #e6fff0; /* 浅绿色 */
}
.card-region {
  background-color: #fff9e6; /* 浅黄色 */
}
.card-career {
  background-color: #f5e6ff; /* 浅紫色 */
}
/* 标题样式：颜色比背景色深 + 加粗 */
.card-trend h3 {
  color: #4da6ff; /* 比浅蓝色背景深 */
}
.card-user h3 {
  color: #4dcc8b; /* 比浅绿色背景深 */
}
.card-region h3 {
  color: #ffcc66; /* 比浅黄色背景深 */
}
.card-career h3 {
  color: #c299ff; /* 比浅紫色背景深 */
}

/* 卡片标题样式 */
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

/* 卡片 hover 动效：上移 + 增强阴影 */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.confident img {
	cursor: pointer;
}
